<?php
/* @var $this UsuarioController */
/* @var $model Usuario */
/* @var $form CActiveForm */ 
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'alterarSenha',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Campos com <span class="required">*</span> são obrigatórios.</p>

	<?php echo $form->errorSummary($model); ?>
	
	<div class="row">
		<?php echo $form->labelEx($model,'senha'); ?>
		<?php echo $form->passwordField($model,'senha',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'senha'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'senhaNova'); ?>
		<?php echo $form->passwordField($model,'senhaNova',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'senhaNova'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'senhaNova2'); ?>
		<?php echo $form->passwordField($model,'senhaNova2',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'senhaNova2'); ?>
	</div>
	
	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Incluir' : 'Atualizar'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->